Skip to content

Remove unnecessary package upgrades and cleanups from CI workflows - #81

Merged
snape merged 1 commit into
mainfrom
dev/remove-ci-upgrades
Dec 4, 2026
Merged

snape merged 1 commit into
mainfrom
dev/remove-ci-upgrades

Conversation

@snape

@snape snape commented Dec 1, 2026 •

Copy link
Copy Markdown
Owner

Remove apt-get/dnf/apk/zypper upgrade steps and package-manager cache cleanups (dnf clean all, apt-get autoremove, /var/lib/apt/lists/*, zypper cc -a, pacman cache/sync cleanup) from ephemeral CI container jobs while keeping pacman -S -u -y on Arch Linux.

@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Chores
    • Continuous integration workflows no longer upgrade all preinstalled system packages during setup. They continue to refresh package metadata and install the packages needed for their tasks. This keeps the setup steps focused on the packages explicitly required by each workflow.

Seven CI workflows no longer upgrade installed system packages during setup. Package-index or repository updates and listed dependency installations remain.

Changes: CI Package Setup

Layer / File(s) Summary
Remove package upgrade steps
.github/workflows/actionlint.yml, .github/workflows/bazel.yml, .github/workflows/buildifier.yml, .github/workflows/cmake.yml, .github/workflows/hadolint.yml, .github/workflows/markdownlint.yml, .github/workflows/meson-format.yml
Setup steps no longer run apt-get upgrade, dnf upgrade, zypper up, or apk upgrade. Package-index or repository updates and dependency installations remain.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

  • snape/AVO2#72: Adds the actionlint and buildifier workflows that this change updates.
  • snape/AVO2#75: Adds the hadolint workflow whose setup this change updates.
  • snape/AVO2#76: Adds the markdownlint workflow whose setup this change updates.
Merge Risk: Minimal · up to 35d27

This change only simplifies CI container setup by dropping unnecessary package upgrades and cleanups. It does not affect shipped code. No actionable merge risk remains.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title states the main change: removing unnecessary package upgrades and cache cleanups from CI workflows. The raw summary shows edits across many workflow files that remove apt-get upgrade, autore…
Description check Passed The description names the removed upgrade steps and cache cleanups (apt-get, dnf, apk, zypper, pacman) and says pacman -S -u -y stays on Arch Linux. This matches the workflow changes in the raw summar…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title states the main change: removing unnecessary package upgrades and cache cleanups from CI workflows. The raw summary shows edits across many workflow files that remove apt-get upgrade, autoremove, apt list removal, and similar cleanups, so the title matches the changeset.

Full details: Description check

Explanation

The description names the removed upgrade steps and cache cleanups (apt-get, dnf, apk, zypper, pacman) and says pacman -S -u -y stays on Arch Linux. This matches the workflow changes in the raw summary.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: 0b4110b3-8e74-4b63-bf35-c3e7ad48783b
Commits

Reviewing files that changed from the base of the PR and between 69dd7eb and 35d276a.

Files selected for processing: 12

  • .github/workflows/actionlint.yml
  • .github/workflows/bazel.yml
  • .github/workflows/buildifier.yml
  • .github/workflows/check-jsonschema.yml
  • .github/workflows/cmake.yml
  • .github/workflows/codespell.yml
  • .github/workflows/hadolint.yml
  • .github/workflows/markdownlint.yml
  • .github/workflows/meson-format.yml
  • .github/workflows/meson.yml
  • .github/workflows/validate-cff.yml
  • .github/workflows/yamllint.yml
Files with no reviewable changes: 12

  • .github/workflows/actionlint.yml
  • .github/workflows/bazel.yml
  • .github/workflows/buildifier.yml
  • .github/workflows/check-jsonschema.yml
  • .github/workflows/cmake.yml
  • .github/workflows/codespell.yml
  • .github/workflows/hadolint.yml
  • .github/workflows/markdownlint.yml
  • .github/workflows/meson-format.yml
  • .github/workflows/meson.yml
  • .github/workflows/validate-cff.yml
  • .github/workflows/yamllint.yml

Included review availability: This review used your included allowance. 4 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour.

@snape
snape force-pushed the dev/remove-ci-upgrades branch from 69dd7eb to ed4a131 Compare December 1, 2026 02:47
@snape snape changed the title Remove unnecessary package upgrades from CI workflows Remove unnecessary package upgrades and cleanups from CI workflows Dec 1, 2026
@snape
snape force-pushed the dev/remove-ci-upgrades branch from ed4a131 to 35d276a Compare December 4, 2026 03:07
@snape
snape merged commit adc8fd3 into main Dec 4, 2026
53 checks passed
@snape
snape deleted the dev/remove-ci-upgrades branch December 4, 2026 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant